Mediavine\Create\Creations D

Total Complexity 129
Dependencies 13
Dependents 5
Total lines 1,290
Lines of code 885
Logical lines of code 341
Comment lines 149
Methods 31
Properties 13

Methods 31

Method Rating Maintainability Complexity Lines of code
routes()
A
28
1 233
maybe_adjust_canonical_posts()
A
44 11 48
before_create()
A
48 11 29
associate_post_with_creation()
A
49 10 31
before_update()
A
51 9 29
restore_video_data()
A
48 8 33
handle_save_post()
S
52 7 24
add_images_to_creation()
S
49 6 30
unassociate_post_with_creations()
S
46 5 44
get_creation_ids_by_post()
S
51 6 24
update_creation_rating()
S
48 5 35
get_image_sizes()
S
38 1 89
add_creations_to_search()
S
51 5 27
after_update()
S
60 5 13
publish_creation()
S
54 4 21
additional_perform_time()
S
64 5 9
check_for_list_steps()
S
59 4 13
recipe_json_ld_prep_creation()
S
56 3 20
prep_publish_creation()
S
56 2 19
get_imported_images()
S
64 3 9
remove_empty_list_wysiwyg()
S
70 3 6
after_delete()
S
67 3 8
init()
S
50 1 27
render_view()
S
56 1 22
get_instance()
S
70 2 7
list_json_ld_output()
S
71 2 6
get_creation_type()
S
63 2 10
custom_schema()
S
67 1 8
diy_json_ld_filters()
S
74 1 4
adjust_canonical_posts()
S
80 1 3
recipe_json_ld_filters()
S
74 1 4